<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
WeixinJSBridge.invoke('getBrandWCPayRequest',{
<c:forEach items="${nvps}" var="item">
    "${item.name}":"${item.value}",
</c:forEach>
"_1":"-1"
},function(res) {
if(res.err_msg == "get_brand_wcpay_request:ok"){
alert('充值成功。将在3秒后刷新页面。');
setTimeout('window.location="/wx/index.htm";',3000);
}
});